home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / aprs60.zip / DIGITIZR.TXT < prev    next >
Text File  |  1994-09-28  |  9KB  |  172 lines

  1. DIGITZR.txt 6.0      USING DIGITIZERS FOR DRAWING MAPS!
  2.                      by Ken Swaggart W7KKE and WB4APR
  3.  
  4.  
  5. Having been laid off from work, I just spent two days adding many of the ideas
  6. that Ken W7KKE had included in his PLOTTER.bas program and incorporating them
  7. into MAPFIX.bas, so that you can see on the screen the map as you draw it
  8. using the CALCOMP or compatible digitizer!  Most of the instructions on using
  9. the digitizer within MAPFIX are included in that program.  But the following
  10. is a more detailed set of set up ideas and cautions..
  11.  
  12. The program should work with any Digitizer that outputs individual POINT
  13. coordinates in the format XXX,YYY,C.  Where XXX and YYY are ASCII numeric
  14. values from 3 to 5 digits in length, and C may contain ASCII characters
  15. indicating the status of the PEN, Mouse, or Buttons on the mouse.  The
  16. digitizer should operate in the POINT mode, so that a data point is only
  17. output when the operator presses a button or puts the PEN to the digitizer
  18. surface.  The characters included in C are only used, if they end with the
  19. numeral "3", which is the 4th button on a 4 button digitizer mouse.  With this
  20. type of mouse, you can use button 1 for adding points (the default mode), or
  21. button 4 to move the cursor with no action...
  22.  
  23. The program is set up to operate at 9600,N,8,1.  If you are going to use the
  24. digitizer in MAPFIX, you must issue the ALT-O command to OPEN the COMM port
  25. for the digitizer.  Once the plotter is initialized, entering a point with the
  26. digitizer will always ADD a new point immediately after the current point
  27. indicated by the small white circle.  To BEGIN a new map feature with the
  28. Digitizer, I made the ALT-B command.  This command prompts you for the name
  29. of the new feature and then will use the first tablet point as the STARTing
  30. point.  ALl future clicks of the mouse add to this feature.  You can also
  31. use the traditional alt-NEW comand with the mouse, but you must FIRST move
  32. the cursor to the starting point before pressing ALT-NEW.
  33.  
  34.   1. Place a map, or map section, on the plotter.  It should be a Mercator
  35. projection with lat and long lines parallel with edge of plotter.  MAPFIX
  36. will calibrate itself with the location of the map, but the map must be
  37. alligned so that a LAT line gives the same Y reading on both sides of the
  38. digitizer surface.
  39.  
  40.   2. MAPFIX aligns to the scale of the MAP by having you choose a lat/long
  41. in the vicinity of the upper left map corner and the lower right corner.
  42. These points are used to calibrate the plotter surface to the map.  If your
  43. map is not a perfect MERCATOR, you can minimize the error by NOT choosing the
  44. extreme corners of the map, but choose points closer to your area of operation,
  45. say in the center of the upper left Quadrant and the center of the lower right
  46. quadrant.
  47.  
  48.   3. Run the program.  To start a NEW map from scratch, type NEW when asked for
  49. a map filename.  You must then select the LAT/LONG of your origin for your map
  50. and a scale in Pixels-per-degree.  Note that finer and finer resolutions make
  51. smaller and smaller maps since there is a limit to the data values stored for
  52. each data point.  When asked for a LAT/LONG in decimal degrees, decimal
  53. fractions are fine. IE: 35.6 or 124.55, etc.  When asked for LAT/LONG in
  54. degrees and minutes, separate the degrees and minutes with a COMMA such as
  55. DD,MM.xx where minutes can be entered with decimal fractions if needed.
  56.  
  57.   4. Each map feature prompts for a feature name to ease in any debugging.
  58. Then just point to each position you wish to digitize. The program beeps and
  59. displays the converted data on the screen.  After each point is added, any
  60. other MAPFIX command may be used.  In otherwords, if you dont like a point
  61. that you just entered, just hit ALT-D to delete it, or ALT-M to MOVE it!
  62.  
  63.   5. Add Labels to the map at any time by moving the cursor to the desired
  64. map location, and pressing ALT-L.  Remember that the names are right justified
  65. so that the label will appear to the left of the point specified.
  66.  
  67.   6.  Remember to save your map occassionally using the Ctrl-S command.  After
  68. each save, you can just continue on with the next point, or QUIT the program.
  69. If things get screwed up, hit the SPACE bar to re-draw the map.  If they are
  70. still screwed up, consider saving the map, and using an EDITOR to check things
  71. out and fix them according to the definition of a map given in README.MAP.
  72.  
  73. NOTE:  APRS and MAPFIX have troubles with a feature with only one point.
  74. Occassionally these get in there and you must remove them with a DOS text
  75. editor.  If you try deleting them on-line within MAPFIX, you may delete whole
  76. other features and loose a lot of points.  Sometimes these problem features
  77. are generated when you try to digitize a point which results in a ZERO value
  78. of X.  That really screws things up!  Be careful around the yellow vertical
  79. line that is the X origin!
  80.  
  81.   7.  To use the map in APRS, add the map file to your APRS directory, and then
  82. use an EDITOR to add the  MAPNAME, center decimal coordinates, and range to
  83. the MAPLIST.apr file.  You may need to suppress some of the existing maps in
  84. the distro version of MAPLIST.apr (by placing a * at the beginning of the map
  85. name) in order to keep the total number of active maps in your list below the
  86. 140 limit.  Remember that you must place the new map in the proper order
  87. (more detailed maps must follow bigger maps that cover the same area) to get
  88. the right map to display when you have overlapping maps.  While running APRS,
  89. if maps overlap, you can temporarily look at a map beneath a map by hitting
  90. MAPS-ALT key.  Then remember to fix the order of the maps in your MAPLIST.apr
  91. file later on to customize the list to your satisfaction.
  92.  
  93.  
  94. MOVING THE PAPER MAP ON THE TABLET, OR RESETTING THE TABLET TO ANOTHER MAP
  95.  
  96. This is surprisingly simple!  FIrst use the ctrl-S command to save what you
  97. have already (in case Murphy drops by).  Then without even stoppping the
  98. program, just place the new paper map on the digitizer and do another ALT-OPEN
  99. command.  MAPFIX will re-set the coordinates to the new map, and you can just
  100. keep on digitizing!  This is neat, when you have 4 or 6 of the 24,000 scale
  101. maps that you are going to use to build ONE APRS map file.  This capability
  102. is also very useful if you are using a 12inch by 12 inch digitizer tablet
  103. and need to move a single paper map 4 times to get all the data off of it!
  104.  
  105.  
  106. CALCOMP DRAFTING TABLE MODEL 23360 (Used by WB4APR):
  107. ----------------------------------------------------
  108. This digitizer is a stand-alone device with RS-232 output.  Just use the on
  109. board menu labels and the mouse button 0 to configure the digitizer as
  110. indicated above and in the prompts within MAPFIX.  I only set it up for 200 LPI
  111. since that is more than adequate.  Plug in the serial port, run MAPFIX.bas and
  112. start drawing!  Do not get too fussy with lots of dots, remember that there is
  113. a 1000 point limit in APRS, so don't waste points with fancy curves where three
  114. points will do!
  115.  
  116.  
  117. CALCOMP Model 4110 Plotter (Used by W7KKE):
  118. -------------------------------------------
  119.  
  120. Plotting surface 12"x12" active, plastic surface is 12 3/4 x 12 3/4.
  121. Data is serial ASCII, even parity, with 4 characters of x position and 5
  122. characters of Y.   W7KKE thinks the 1st Y character is pen status.
  123. (if so, he is gonna have to modify MAPFIX to make it work)
  124.  
  125. Power input is pin 24 +12vdc at 290-300 ma. Pin 25 is power return.
  126.  
  127. Data Ranges:
  128.   X: 0 = left  4000 = right
  129.   y: 0 = bottom  4000 = top
  130.  
  131. Pen status:  0 = point mode  1 = run mode, pen down   9 = run mode, pen up
  132.  
  133. There is an "A/B" switch on back of the plotter next to D25 plug.  Run it in
  134. "B" which only sends a posit when pen is depressed on surface (point mode).
  135.  
  136. Pin connections:
  137. 1  NC
  138. 2  +/- 15 v RS-232 data output from plotter.
  139. 3  + 5v from board (probably for some original interface device)
  140. 4  "             "                      "
  141. 5  0/+5v TTL data output
  142. 6  "                "
  143. 7 Ground (data return)
  144. 8   |
  145. 9   |- Tied together in various combinations to select baud rate.
  146. 10  |
  147. 11  |
  148. 12 - 23 Unknown. Appear to be open.
  149. 24  +12 vdc  power input
  150. 25  ground
  151.  
  152.  
  153. BAUD RATE PROGRAMMING PINS:
  154.  
  155. BAUD RATE      8     9     10     11   (X = connection to GND)
  156.   110          .     .      .     .
  157.   2400         X     .      .     .
  158.   1200         .     X      .     .
  159.    150         X     X      .     .
  160.    300         .     .      X     .
  161.    200?        X     .      X     .
  162.   4800         .     X      X     .
  163.  OFF           X     X      X     .
  164.    150         .     .      .     X
  165.    600         X     .      .     X
  166.     45?        X     X      .     X
  167.  2400          .     .      X     X
  168.    135?        X     .      X     X
  169.  9600          .     X      X     X    (use this for MAPFIX.bas)
  170.    OFF         X     X      X     X
  171.  
  172.